home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / misc / MakeFTPScript.lha / MakeFTPScript / MakeFTPScript.readme < prev   
Text File  |  1999-03-19  |  5KB  |  149 lines

  1. Short:    Make FTP script for UNIX system (v1.7)
  2. Author:   domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
  3. Uploader: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
  4. Type:     comm/misc
  5.  
  6. If you have rights to use account on UNIX based system and you're
  7. coming to internet by phone line, it will be very good way for you
  8. to save some money. Autor of this script is collecting some part
  9. of recent files which he will to download, and from time to time
  10. he is making script with many NCFTP commands. After it hi upload
  11. it to his account on UNIX system and turn it on by commands:
  12.  
  13.          screen -R
  14.          chmod 700 script
  15.          script
  16.  
  17. press <ctrl-A-C> (it will open new screen)
  18. and when a screen is change hi is writing:
  19.  
  20.          screen -d
  21.          logout
  22.  
  23. Now hi turn off modem, and wait some time, and later hi doing FTP
  24. to his account and download all files.
  25. There is a many way to start script under UNIX but problem is that
  26. when you logout, your script is hangin off. This method is working.
  27. If on your server's no SCREEN command then try:
  28.  
  29.          batch < script
  30.  
  31. By the way, if you have low priority as a user of server, you must
  32. wait some time when it will be done (e.g. few days). When it will
  33. be download to your account, you will receive e-mail with report.
  34.  
  35. Also you can try AT command:
  36.  
  37.          at hh:mm < script
  38.  
  39. (where hh:mm is time when script will be start) e.g:
  40.  
  41.          at 1:00 < script
  42.  
  43. (at 1 o'clock script will start).
  44.  
  45. This script is doing from RECENT file script for UNIX based system.
  46. For example, every line of your RECENT file it will change to chain
  47. of command:
  48. orginal line of RECENT file:
  49.  
  50. ...
  51. WatchWatcher.lha   util/time   14K+Checks your clock's sanity V1.3 By F.Ultra
  52. ...
  53.  
  54. after use MakeFTPScript.rexx
  55.  
  56. ...
  57. ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.lha    #14
  58. ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.readme    #0
  59. ...
  60.  
  61. Usage: rx makeFTPScript.rexx ADDRESS/K SOURCE/K DEST/K README/S
  62. where: ADDRESS is address of ftp server where you like to download.
  63.        SOURCE  is filename of your RECENT file.
  64.        DEST    is filename of output file. (I'm using script name)
  65.        README  is switch which allow to make additional line with ".readme"
  66.  
  67. Req:   ARexx
  68.        Filenote (System file)
  69.  
  70.  
  71. Usage: rx makeAMFTPScript.rexx SOURCE/K
  72. where: SOURCE  is filename of your RECENT file.
  73.  
  74. Use this script to make AMFTP batch file. Destination script is saved in T:
  75. directory.
  76.  
  77.  
  78. Usage: rx checkFTPScript.rexx SOURCE/K DEST/K DIR/K
  79. where: SOURCE  is filename of script
  80.        DEST    is filename of new script
  81.        DIR     is directory with all files, which was download by SOURCE-script.
  82.  
  83. Req:   ARexx
  84.        List     (System file)
  85.        Delete   (System file)
  86.        Filenote (System file)
  87.  
  88. This script is needed for a situation when some files was missed by server.
  89. When you see that you don't have some files which was available in script file,
  90. you can use this checkFTPScript.rexx and it will make new script with all files
  91. what was lost.
  92.  
  93. New feature! The script count total size of requested files and write it
  94.              to COMMENT field of script file.
  95.              New script CheckFTPScript.rexx now available!
  96.              Two Batch-files for DOS usage (if you'll use this scripts with
  97.              DOPUS, use Batch-file, because ARexx will have problem with
  98.              path like "Ram Disk:script".
  99.  
  100. Batch files:
  101.  
  102. mkftp ADDRESS/K,SOURCE/K,DEST/K,README/S
  103.  
  104. e.g.:
  105.  
  106. mkftp ftp.wustl.edu ram:recent ram:script
  107.  
  108.  
  109. mkamftp SOURCE/K
  110.  
  111. e.g.:
  112.  
  113. mkamftp ram:recent
  114.  
  115.  
  116. ckftp SOURCE/K,DEST/K,DIR/K,INDEX/S
  117.  
  118. e.g.:
  119.  
  120. ckftp ram:script ram:script_new dh2:download index
  121.  
  122.  
  123. History:
  124.  
  125. 1.2          Fixed problem with slash in DIR option.
  126.  
  127. 1.3          Fixed problem with "?" as a size of file.
  128.  
  129. 1.32         The script count total size of requested files and write it
  130.              to COMMENT field of script file.
  131.              New script CheckFTPScript.rexx now available!
  132.  
  133. 1.4          MakeFTPScript is now making INDEX file. When you're using
  134.              CheckFTPScript, script is checking size of downloaded files
  135.              and comparing it to data in INDEX file. It's very useful
  136.              when some files is truncated or size of it is zero.
  137.  
  138. 1.5          Fixed few problems with MakeFTPScript. No public relase.
  139.  
  140. 1.6          From now no additional files is generated (e.g. #?.ind)
  141.              All informations about file size is stored in main script
  142.              after "#" sign (UNIX comment).
  143.  
  144. 1.7          Fixed bug in CheckFTPScript.rexx with ".readme" files.
  145.              New script MakeAMFTPScript.rexx available.
  146.              Script file from now have #MKFTP1 header (needed for DOPUS.
  147.              Now you can doubleclick on script and Dopus can identify
  148.              filetype and start CheckFTPScript.rexx).
  149.